package com.cn.dream_order_server.async;

import com.cn.dream_order_server.pojo.OrderOrder;
import com.cn.dream_order_server.service.OrderOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;


@Service
public class WlcDoConfirmReceiptUtilAsync {


    @Autowired
    private OrderOrderService orderOrderService;

    @Autowired
    private StringRedisTemplate stringRedisTemplate;

    public void doConfirmReceiptManageAsync(OrderOrder orderOrder){
        orderOrderService.doConfirmReceiptManage(orderOrder.getOrderId());
    }
}
